package com.hcss.common.util;

import java.io.Closeable;
import java.io.IOException;

/**
 * @function : 输入和输出流工具类
 */
public class StreamUtil {

    /**
     * 关闭IO流
     * @param closeable
     */
	public static void close(Closeable closeable) {
        try {
            if(closeable != null){
                closeable.close();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
